package com.ace3l.legal.gwt.domainmodule.gwt;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Created by IntelliJ IDEA.
 * User: ageer
 * Date: Jul 18, 2008
 * Time: 9:05:22 PM
 * To change this template use File | Settings | File Templates.
 */
public class GWTRole implements IsSerializable {
    public static final String LAWFIRM = "LAWFIRM";
    public static final String ADMIN = "ADMIN";
    public static final String STUDENT = "STUDENT";
    
    private Integer id;
    private GWTUser user;
    private String username;
    private String role;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public GWTUser getUser() {
        return user;
    }

    public void setUser(GWTUser user) {
        this.user = user;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String toString() {
        return role;
    }
}
